package com.fdc_project.controller;


import com.fdc_project.entity.Doingproject;
import com.fdc_project.entity.Historyproject;
import com.fdc_project.mapper.HistoryprojectMapper;
import com.fdc_project.service.impl.DoingprojectServiceImpl;
import com.fdc_project.service.impl.HistoryprojectServiceImpl;
import com.fdc_project.vo.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author Sk
 * @since 2021-11-29
 */
@RestController
@RequestMapping("/historyproject")
public class HistoryprojectController {
    @Autowired
    HistoryprojectServiceImpl historyprojectService;

    @PostMapping("/selectStaff")
    public Result selectStaff(Integer staff_id){return historyprojectService.staffHistory(staff_id);}



}

